import {
  Home,
  Mall,
  Cart,
  Mine,
  Detail,
  NotFound
} from './pages'

const routes = [{
  path:'/home',
  tittle:'首页',
  component:Home,
},{
  path:'/mall',
  tittle:'商城',
  component:Mall
},
{
  path:'/Cart',
  tittle:'购物车',
  component:Cart
},{
  path:'/mine',
  tittle:'我的',
  component:Mine
}
,{
  path:'/detail/:id',
  component:Detail
},{
  path:'/404',
  component:NotFound
}];

export default routes;  